package de.lusiardi.webdav.xml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * http://www.webdav.org/specs/rfc4918.html#ELEMENT_location
 *
 * @author Joachim Lusiardi
 */
@XmlRootElement(name = "location")
@XmlAccessorType(XmlAccessType.FIELD)
public class Location {

    @XmlElement(required = true)
    private Href href;

    public Href getHref() {
        return href;
    }

    public void setHref(Href href) {
        this.href = href;
    }
}
